package sisi.payment;

import java.io.Serializable;
import javax.persistence.*;
import java.sql.Timestamp;


/**
 * Payment.java - The persistent class for the <i>payment database table</i>. 
 * @author Pedro Gonzalez pedro@sisisoftware.it
 * @author Claudio Pelosi claudio@sisisoftware.it
 * @author SISI Software S.n.c. - www.sisisoftware.it
 * @version 1.0, 12/11/2013
 * 
 */
@Entity
public class Payment implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="PAYMENT_ID_GENERATOR", sequenceName="PAYMENTSEQ", allocationSize=1)
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="PAYMENT_ID_GENERATOR")
	private Integer id;

	private Integer dd;

	private Timestamp dtup;

	private String terms;

	/**
	 * Payment.java - The persistent class for the <i>payment database table</i>. 
	 * @author Pedro Gonzalez pedro@sisisoftware.it
	 * @author Claudio Pelosi claudio@sisisoftware.it
	 * @author SISI Software S.n.c. - www.sisisoftware.it
	 * @version 1.0, 12/11/2013
	 * 
	 */
	public Payment() {
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getDd() {
		return this.dd;
	}

	public void setDd(Integer dd) {
		this.dd = dd;
	}

	public Timestamp getDtup() {
		return this.dtup;
	}

	public void setDtup(Timestamp dtup) {
		this.dtup = dtup;
	}

	public String getTerms() {
		return this.terms;
	}

	public void setTerms(String terms) {
		this.terms = terms;
	}

}